package com.sghd.fight.module.game.core.model;

import com.sghd.fight.module.game.core.Chess;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class EliminateResult {

    private List<Set<Set<Chess>>> elimitByChess = new ArrayList<>();

    private List<Set<Integer>> sets = new ArrayList<>();

    //每次下落消除的组合，包含手动交换
    private List<Set<Set<Integer>>> elimtByDown = new ArrayList<>();

    private List<Chess> list = new ArrayList<>();

    private Set<Set<Integer>> setBoom = new HashSet<>();

    public EliminateResult() {
    }

    public Set<Set<Integer>> getSetBoom() {
        return setBoom;
    }

    public void setSetBoom(Set<Set<Integer>> setBoom) {
        this.setBoom = setBoom;
    }

    public List<Set<Integer>> getSets() {
        return sets;
    }

    public List<Set<Set<Chess>>> getElimitByChess() {
        return elimitByChess;
    }

    public void setElimitByChess(List<Set<Set<Chess>>> elimitByChess) {
        this.elimitByChess = elimitByChess;
    }

    public void setElimtByDown(List<Set<Set<Integer>>> elimtByDown) {
        this.elimtByDown = elimtByDown;
    }

    public void setSets(List<Set<Integer>> sets) {
        this.sets = sets;
    }

    public List<Set<Set<Integer>>> getElimtByDown() {
        return elimtByDown;
    }

    public void setList(List<Chess> list) {
        this.list = list;
    }
    public List<Chess> getList() {
        return list;
    }

    @Override
    public String toString() {
        return "EliminateResult{" +
                "sets=" + sets.toString() +
                ", List=" + list.toString() +
                ", setBoom=" + setBoom.toString() +
                '}';
    }
}
